package com.ball.dev.service;

import com.ball.common.dtos.PageQuery;
import com.ball.common.dtos.ResponseResult;
import com.ball.dev.entity.dto.PushDto;
import com.ball.dev.entity.po.Post;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 帖子 服务类
 * </p>
 *
 * @author lou
 * @since 2024-03-04
 */
public interface IPostService extends IService<Post> {

    ResponseResult addPost(Post postDto);

    ResponseResult postList(PageQuery query);


    ResponseResult addPushPost(PushDto pushDto);

    ResponseResult getPushList(PageQuery query);

    ResponseResult updatePost(Post postDto);

    ResponseResult deletePost(String id,Integer status);

    ResponseResult getPostById(String id);

    ResponseResult careList();

    ResponseResult getMyLikePost();

    ResponseResult getMyCollectPost();
}
